package com.wang.utils;

/**
 * @author 10570
 * @date 2021/7/4 22:46
 */
public class StringUtil {
    public static void main(String[] args) {
        String str = "javaDemo";
        String newStr = str.replaceAll("Demo","Hello");
        System.out.println(newStr);
        System.out.println("xixxi");
    }
}
